fun {{receiver}}.{{methodName}}Listener(init: {{listener}}.() -> Unit) {
    val listener = {{listener}}()
    listener.init()
    {{setter}}(listener)
}

